﻿using System;
using CulvertDesigner;

class Program
{
    static void Main(string[] args)
    {
        double[] diameters = { 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0 };
        double s0 = 0.02; // 设置底坡
        double n = 0.014; // 设置 Manning 系数
        double limH = 0.75; // 设置 limH
        double limV = 5.0; // 设置 limV

        foreach (double dd in diameters)
        {
            double uu = CulvertCalculator.CalculateUniformDepth(0.2, dd, s0, n);
            Console.WriteLine($"{dd:F1}直径涵洞平均水深：{uu:F3} cms");

        }
        Console.ReadKey();
    }
}
